import Vue from 'vue'
import App from './App.vue'


Vue.config.productionTip = false


import axios from 'axios'

Vue.prototype.$axios = axios

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

new Vue({
  render: h => h(App),
}).$mount('#app')

import comDemoC from '@/components/comDemoC.vue'
Vue.component('comDemoC',comDemoC)

Vue.directive('gcolor',{
  inserted(el,bind){
    el.style.color = bind.value
  },
  update(el,bind){
    el.style.color = bind.value
  }
})
